
#define  FONT_FAMILY @"Microsoft YaHei"
//#define  FONT_FAMILY @"STHeitiTC-Medium"
#define iPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)  

#define UISCREEN_WIDTH [[UIScreen mainScreen] bounds].size.width
#define UISCREEN_HEIGHT [[UIScreen mainScreen] bounds].size.height
#define STATUSBAR_HEIGHT [UIApplication sharedApplication].statusBarFrame.size.height

#define STATUSBAR_HEIGHT [UIApplication sharedApplication].statusBarFrame.size.height
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define BUTTONQUANZITAG 80
#define CAMERABUTTONTAG 90
#define PUSHMENUBUTTONTAG 100
#define HOMEPAGESECONTAG 110
//#define  LEFTBUTTONTAG 120
//#define  RIGHTBUTTONTAG 130
//#define  CENTERBUTTONTAG  140
#define  HOMEPAGESECONDLEFTBUTTONTAG 150
#define  HOMEPAGESECONDRIGHTBUTTONTAG 160
#define  HOMEPAGESECONDCENTERBUTTONTAG  170
#define PUSHMENUTAG  200
#define  HOMEPAGELPV 250
#define NAVBUTTONTAG 300
#define POPBUTTONTAG 350
#define HOMEPAGETABLEVIEWTAG   400
#define PUSHTABLEVIEWTAG  450
#define NAVGGBUTTONTAG 500
#define TOOLGGBUTTONTAG 550
#define  HEADERBUTTONTAG 600
#define POPMENUTAG 650
#define NAVIGATIONBAR_TAG 700
#define SERACHBUTTONTAG  800  //搜索页面的按钮
#define QUANZIDETAILBUTTONTAG 810 //圈子详细页面底部按钮
#define QUANZIMOREBUTTONTAG 820 //更多圈子顶部按钮
#define INFOBUTTONTAG 900 //信息通知菜单按钮
#define CAOGAOMAINBUTTONTAG 920 //草稿菜单按钮
#define FOOTVIEWTAG 303303
#define MEMBERHOMEBUTTONTAG 303305//成员首页button
#define LOADING_TITLE_DEFAULT @"正在加载中..."


#define  ALRRTTITLE @"提醒"
#define LOGINFAIL @"用户名或者密码错误"
#define REGFAIL @"注册失败"
#define USERNAMEMSG1 @"请输入一起帐号"
#define NICKNAMESG1  @"昵称不能为空"
#define USERNAMEMSG2 @"帐号格式不正确"
#define PASSWORDMSG1 @"密码不正确"
#define PASSWORDMSG2 @"两次输入的密码不一样"
#define PROCESSERROE @"数据异常"
#define NETWORTERROE @"哎呀,网络不给力,稍后再试试试吧!"


#define GONGGAOCONTENT @"请输入供稿内容"


#define USERID @"userid"
#define USERNAME @"username"
#define USERNICKNAME @"nickname"
#define USERPASSWORD @"password"
#define USERLOGO @"USERLOGO"
#define USERINTRO @"USERINTRO"

typedef NSString UserRole;

